package com.vpclub.bean;

import java.io.Serializable;
import java.sql.Date;

/**
 * @author : leimingchao
 * @version V1.0
 * @Project: jdbcday01
 * @Package com.vpclub.bean
 * @Description: TODO
 * @date Date : 2021年05月29日 13:48
 */
public class Order implements Serializable {
    private Integer orderId;
    private String orderName;
    private Date orderDate;

    public Order() {
    }

    public Order(Integer orderId, String orderName, Date orderDate) {
        this.orderId = orderId;
        this.orderName = orderName;
        this.orderDate = orderDate;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderId=" + orderId +
                ", orderName='" + orderName + '\'' +
                ", orderDate=" + orderDate +
                '}';
    }
}
